# docker-compose.yml
version: '3.8'
services:
  vulnerable-nginx:
    image: nginx:1.29.7
    ports:
      - "8080:80"
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf

  vulnerable-apache:
    image: httpd:2.4.67
    ports:
      - "8081:80"
    volumes:
      - ./httpd.conf:/usr/local/apache2/conf/httpd.conf

  attacker:
    image: python:3.9-slim
    volumes:
      - .:/poc
    working_dir: /poc
    command: tail -f /dev/null
